//计算元组类型的长度
type LengthOfTuple<T extends any[]>=T['length']
type a1=LengthOfTuple<[1,2,6,8]>
type a2=LengthOfTuple<[]>

export {}
